﻿@model Infinity.Models.Instructor_Course_Salary

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Managerial/Views/Shared/_AdminLayout.cshtml";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Instructor_Course_Salary</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.InstructorID, "Instructor")
        </div>
        <div class="editor-field">
            @Html.DropDownList("InstructorID", String.Empty)
            @Html.ValidationMessageFor(model => model.InstructorID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CourseID, "Course")
        </div>
        <div class="editor-field">
            @Html.DropDownList("CourseID", String.Empty)
            @Html.ValidationMessageFor(model => model.CourseID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SalaryID, "Instructor_Salary")
        </div>
        <div class="editor-field">
            @Html.DropDownList("SalaryID", String.Empty)
            @Html.ValidationMessageFor(model => model.SalaryID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.salaryValue, "salaryValue")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model=>model.salaryValue)
            @Html.ValidationMessageFor(model => model.salaryValue)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

